package com.fanrenqiji.service;

import com.fanrenqiji.common.service.IBaseService;
import com.fanrenqiji.vo.QuestionRecordVO;
import com.fanrenqiji.vo.QuestionVO;

import java.util.List;
import java.util.Map;

/**
 * Created by yanwt on 2017/3/28.
 */
public interface IQuestionRecordService extends IBaseService<QuestionRecordVO> {

    void saveQuestionRecord(String questionId,String openId,String answer);
    List<Object> getStudentByQuestionIdOpenId(String questionId, String openId);
    QuestionRecordVO getByQuestionIdOpenId(String questionId, String openId);
    void saveStudentQuestionRecord(String questionId, String studentId, String answer);

    QuestionRecordVO getByStudentIdAndQuestionId(String studentId, String questionId);

    QuestionRecordVO getByParentIdAndQuestionId(String parentId, String questionId);
}
